module.exports={
    devServer: {
        proxy: {
            '/api': {//代理api
                target: "http://121.36.26.104",// 代理接口(注意只要域名就够了)
                changeOrigin: true,//是否跨域
                ws: true, // proxy websockets
                pathRewrite: {//重写路径
                    "^/api": ''//代理路径
                }
            }
        }
    },
    lintOnSave: false, //关掉eslint
    publicPath:"./",
    runtimeCompiler: true,
}

